package com.showworkflow.entity;

import java.time.LocalDateTime;

public class FileHistory {
    private String id;
    private String originalFileName;
    private String storedFilePath;
    private String wordFilePath;
    private LocalDateTime uploadTime;
    private int version;

    public FileHistory() {}

    public FileHistory(String id, String originalFileName, String storedFilePath, 
                     String wordFilePath, LocalDateTime uploadTime, int version) {
        this.id = id;
        this.originalFileName = originalFileName;
        this.storedFilePath = storedFilePath;
        this.wordFilePath = wordFilePath;
        this.uploadTime = uploadTime;
        this.version = version;
    }

    // Getters and Setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }

    public String getOriginalFileName() { return originalFileName; }
    public void setOriginalFileName(String originalFileName) { this.originalFileName = originalFileName; }

    public String getStoredFilePath() { return storedFilePath; }
    public void setStoredFilePath(String storedFilePath) { this.storedFilePath = storedFilePath; }

    public String getWordFilePath() { return wordFilePath; }
    public void setWordFilePath(String wordFilePath) { this.wordFilePath = wordFilePath; }

    public LocalDateTime getUploadTime() { return uploadTime; }
    public void setUploadTime(LocalDateTime uploadTime) { this.uploadTime = uploadTime; }

    public int getVersion() { return version; }
    public void setVersion(int version) { this.version = version; }
}